/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.ls.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>Project: likeshop - MyShow
 * <p>Powered By webrx
 * <p>Created By IntelliJ IDEA On 2021-03-31 09:20:36
 * <p>Description : http://localhost/user/add
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 15
 */
@RestController @RequestMapping("/user")
public class MyShow {
    @GetMapping("add")
    public String uadd(String name){
        return "user add增加" + name;
    }

    @GetMapping("save/{id}")
    public String usave(@PathVariable("id") int newid){
        return "user usave : " + newid;
    }
}
